//新增仓库
const mongoose = require("mongoose");
module.exports = mongoose.model("addwarehouse", {
  //仓库名称
  name: {
    type: String,
    required: true,
  },
  //所在城市
  city: {
    type: String,
    required: true,
  },
  //所在区域
  region: {
    type: String,
    required: true,
  },
  //仓库地址
  address: {
    type: String,
    required: true,
  },
  //仓库面积
  area: {
    type: Number,
    require: true,
  },
});
